package com.yy.permissions_general.common.config.listener.event;

import org.springframework.context.ApplicationEvent;

import java.util.Map;

/**
 * @Description: TODO 添 加 邮 箱 配 置 之 后，发 布 邮 箱 配 置 事 件
 * @Author: YangYI
 * @Date: 2022/2/10
**/
public class SetupEvent extends ApplicationEvent {

    private final Map<String, String> mailConfig;

    public SetupEvent(Object source, Map<String, String> mailConfig) {
        super(source);
        this.mailConfig = mailConfig;
    }

    public Map<String, String> getMailConfig() {
        return mailConfig;
    }

}
